package com.castle.fortress.admin.study.course.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.study.course.entity.StudyCourseClassifyEntity;
import java.util.Map;
import java.util.List;
/**
 * 课程/课件分类表Mapper 接口
 *
 * @author castle
 * @since 2023-01-30
 */
public interface StudyCourseClassifyMapper extends BaseMapper<StudyCourseClassifyEntity> {

    /**
    * 扩展信息列表
    * @param pageMap
    * @param studyCourseClassifyEntity
    * @return
    */
    List<StudyCourseClassifyEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("studyCourseClassifyEntity") StudyCourseClassifyEntity studyCourseClassifyEntity);

    /**
    * 扩展信息记录总数
    * @param studyCourseClassifyEntity
    * @return
    */
    Long extendsCount(@Param("studyCourseClassifyEntity") StudyCourseClassifyEntity studyCourseClassifyEntity);

    /**
    * 课程/课件分类表扩展详情
    * @param id 课程/课件分类表id
    * @return
    */
    StudyCourseClassifyEntity getByIdExtends(@Param("id")Long id);



}
